package com.example.dao;

import com.example.Pojo.HairMaster;
import com.example.Pojo.Profit;

import java.util.List;

public interface AdminManager {
    //修改信息
    int UpdateInfo(HairMaster hm);
    //删除
    int DeleteInfo(int id);
    //注册
    int insertInfo(HairMaster hm);
    //得到所有
    List<HairMaster> findAll();
    //查价格
    int findPrice(String type);

    //插入收益表
    int insertProfit(Profit profit);
    //更新收益表
    int updateProfit(Profit profit,String name);
    //查询收益表
    List<Profit> selectProfit();
    //按照姓名查找
    Profit selectProfitByName(String name);
}
